//
//  SystemHelper.m
//  CarCare
//
//  Created by ileo on 14-9-9.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import "AISystemInfo.h"
#import "CalendarMgr.h"


@implementation AISystemInfo

IMP_SINGLETON

- (instancetype)init
{
    self = [super init];
    if (self) {
        
        NSString *version = __APP_V;
        if (![self.version isEqualToString:version]) {
            self.version = version;
            self.isFirstTime = YES;
        }else{
            self.isFirstTime = NO;
        }
        if (![[CALENDARMGR currentDay] isEqualToString:self.lastUseDate]) {
            self.lastUseDate = [CALENDARMGR currentDay];
        }
        
        if (!self.isSettedShowDrivesSettingGesture) {
            self.shouldShowDrivesSettingGesture = YES;
            self.isSettedShowDrivesSettingGesture = YES;
        }
        
    }
    return self;
}


@end